/* 全局 */
#app, body, html {
	width: 100%;
	height: 100%;
	background-color: #f6f8f9;
	font-size: 12px;

	overflow: hidden;
}
// 灰色模式
html.gray {
	-webkit-filter: grayscale(100%);
	-moz-filter: grayscale(100%);
	-ms-filter: grayscale(100%);
	-o-filter: grayscale(100%);
	filter: grayscale(100%);
	filter: progid:DXImageTransform.Microsoft.BasicImage(grayscale=1);
}

// 色弱模式
html.webkit {
	filter: invert(80%);
	-webkit-filter: invert(80%);
}

a {color: #333;text-decoration: none;}
a:hover, a:focus {color: #000;text-decoration: none;}
a:link {text-decoration: none;}
a:-webkit-any-link {text-decoration: none;}
a,button,input,textarea{-webkit-tap-highlight-color:rgba(0,0,0,0);box-sizing: border-box;outline:none !important; -webkit-appearance: none;}
* {margin: 0;padding: 0;box-sizing: border-box;outline: none;}

.kt-full {
	width: 100%;
	height: 100%;
}

.kt-page {
	width: 100%;
	height: 100%;
	padding: 5px;
}

/* 大布局样式 */
.adminui {display: flex;flex-flow: column;}
.adminui-wrapper {display: flex;flex:1;overflow: auto;}

/* 全局滚动条样式 */
.scrollable {-webkit-overflow-scrolling: touch;}
::-webkit-scrollbar {width: 5px;height: 5px;}
::-webkit-scrollbar-thumb {background-color: rgba(50, 50, 50, 0.3);}
::-webkit-scrollbar-thumb:hover {background-color: rgba(50, 50, 50, 0.6);}
::-webkit-scrollbar-track {background-color: rgba(50, 50, 50, 0.1);}
::-webkit-scrollbar-track:hover {background-color: rgba(50, 50, 50, 0.2);}

/*布局设置*/
.layout-setting {position: fixed;width: 40px;height: 40px;border-radius: 3px 0 0 3px;bottom: 100px;right: 0;z-index: 100;background: #071927;display: flex;flex-direction: column;align-items: center;justify-content: center;cursor: pointer;}
.layout-setting i {font-size: 18px;color: #fff;}

/* 头部 */

.adminui-header {height: var(--kt-header-height); width: 100%; background: #222b45;color: #fff;display: flex;justify-content:space-between;}
.adminui-header-left {display: flex; align-items: center; padding-left:5px; width: var(--kt-side-width)}

.adminui-header-center { width: calc(100% - 250px - var(--kt-header-height) * 5);}
.adminui-header-center .el-scrollbar__wrap{overflow: unset;  overflow-x: auto; overflow-y: hidden;}
.adminui-header-center .el-scrollbar__bar.is-vertical {top: 0; width: 0;}
.adminui-header-center .el-scrollbar__view {display: inline-flex; height: 100%}

.adminui-header-right {display: flex;align-items: center; width: calc(var(--kt-header-height) * 6);}
.adminui-header .logo-bar {font-size: 20px;font-weight: bold;display: flex;align-items: center;}
.adminui-header .logo-bar .logo {margin-right: 10px;width: 35px;height: 35px;}
.adminui-header .nav {display: flex;height: 100%;}
.adminui-header .nav li {padding:0 calc(var(--el-menu-base-level-padding) + 10px);margin: 0 10px 0 0;font-size: 14px;color: rgba(255, 255, 255, 0.6);list-style: none;height: 100%;display: flex;align-items: center;cursor: pointer;white-space:nowrap;}
.adminui-header .nav li i {margin-right: 5px;}
.adminui-header .nav li:hover {color: #fff;}
.adminui-header .nav li.active {background: rgba(255, 255, 255, 0.1);color: #fff;}
.adminui-header .user-bar .panel-item:hover {background: rgba(255, 255, 255, 0.1)!important;}
.adminui-header .user-bar .user label{color: #fff;}

/* 左侧菜单 */
.adminui-side-split {width:var(--kt-side-split-size);flex-shrink:0;background: #071927;display: flex;flex-flow: column;}
.adminui-side-split-scroll {overflow: auto;overflow-x:hidden;height: 100%;flex: 1;}
.adminui-side-split li {cursor: pointer;width: var(--kt-side-split-size);height: var(--kt-side-split-size);color: #fff;text-align: center;display: flex;flex-direction: column;align-items: center;justify-content: center;border-radius: 2px;}
.adminui-side-split li i {font-size: 18px;}
.adminui-side-split li p {margin-top:5px;}
.adminui-side-split li:hover {background: rgba(255, 255, 255, 0.1);}
.adminui-side-split li.active {background: #071927;}

.adminui-side-split-scroll::-webkit-scrollbar-thumb {background-color: rgba(255, 255, 255, 0.4);border-radius:5px;}
.adminui-side-split-scroll::-webkit-scrollbar-thumb:hover {background-color: rgba(255, 255, 255, 0.5);}
.adminui-side-split-scroll::-webkit-scrollbar-track {background-color: rgba(255, 255, 255, 0);}
.adminui-side-split-scroll::-webkit-scrollbar-track:hover {background-color: rgba(255, 255, 255, 0);}

.adminui-side {display: flex;flex-flow: column;flex-shrink:0;width:var(--kt-side-width);background: #fff;box-shadow: 2px 0 8px 0 rgba(29,35,41,.05);border-right: 1px solid #e6e6e6;transition:width 0.3s;}
.adminui-side-scroll {overflow: auto;overflow-x:hidden;flex: 1;}
.adminui-side-bottom {border-top: 1px solid #ebeef5;height:42px;cursor: pointer;display: flex;align-items: center;justify-content: center;}
.adminui-side-bottom i {font-size: 16px;}
.adminui-side-bottom:hover {color: var(--el-color-primary);}
.adminui-side.isCollapse {width: 65px;}
.el-menu .menu-tag {position: absolute;height: 18px;line-height: 18px;background: var(--el-color-danger);font-size: 12px;color: #fff;right: 20px;border-radius:18px;padding:0 6px;}
.el-menu .el-sub-menu__title .menu-tag {right: 40px;}
.el-menu--horizontal > li .menu-tag {display: none;}

/* 右侧内容 */
.adminui-body {flex: 1;display: flex;flex-flow: column;}


.right-panel-search {display: flex;align-items: center;}
.right-panel-search > * + * {margin-left:10px;}

.adminui-tags {--kt-tabs-header-height: 40px; height:var(--kt-tabs-header-height);background: #fff;border-bottom: 1px solid #e6e6e6;}


.adminui-main {overflow: auto; overflow-x: hidden; background-color: #f6f8f9;flex: 1;}

/*页面最大化*/
.adminui.main-maximize {
	.main-maximize-exit {display: block;}
	.adminui-side-split, .adminui-side, .adminui-header, .adminui-topbar, .adminui-tags {display: none;}
}
.main-maximize-exit {display: none;position: fixed;z-index: 3000;top:-20px;left:50%;margin-left: -20px;border-radius: 50%;width: 40px;height: 40px;cursor: pointer;background: rgba(0,0,0,0.2);text-align: center;}
.main-maximize-exit i {font-size: 14px;margin-top: 22px;color: #fff;}
.main-maximize-exit:hover {background: rgba(0,0,0,0.4);}

/*定宽页面*/
.sc-page {width: 1230px;margin: 0 auto;}

/*tabs 添加按钮替换成自定义按钮*/
.kt-tabs__button.el-tabs--top {

	.el-tabs__new-tab{
		height: var(--el-tabs-header-height);
		width: auto;
		margin: 0 0 0 10px;
		border: 0;
	}

	.el-tabs__nav-wrap::after{
		display: none;
	}

	&:not(.el-tabs--card):not(.el-tabs--border-card) .el-tabs__header::after{
		content: "";
		position: absolute;
		left: 0;
		bottom: 0;
		width: 100%;
		height: 1px;
		background-color: var(--el-border-color-light);
		z-index: var(--el-index-normal);
	}
}


.kt-table-tooltip{
	max-width: 50%;
}